import { createApp } from 'vue';
import App from '@/App.vue'
import 'vant/es/toast/style';

const app = createApp(App);

import {
    Tabbar,
    TabbarItem,
    Button,
    Search,
    Icon,
    Swipe,
    SwipeItem,
    List,
    PullRefresh,
    Toast,
    Cell,
    CellGroup,
    Checkbox,
    CheckboxGroup,
    Stepper,
    Popup,
    Sticky,
    ActionBar,
    ActionBarIcon,
    ActionBarButton,
    Space,
    ImagePreview,
    AddressEdit,
    NavBar,
    Tab,
    Tabs,
    Sidebar,
    SidebarItem,
    ShareSheet,
    Overlay,
    Grid,
    GridItem,
    Divider,
    DropdownMenu,
    DropdownItem,
    Empty,
    Skeleton,
    Area,
    DatetimePicker,
    Loading,
    Field,
    ActionSheet,
    Uploader,
    Picker,
    Dialog
} from 'vant';



app
    .use(Button)
    .use(Tabbar)
    .use(TabbarItem)
    .use(Search)
    .use(Icon)
    .use(Swipe)
    .use(SwipeItem)
    .use(List)
    .use(PullRefresh)
    .use(Toast)
    .use(Cell)
    .use(CellGroup)
    .use(Checkbox)
    .use(CheckboxGroup)
    .use(Stepper)
    .use(Popup)
    .use(Sticky)
    .use(ActionBar)
    .use(ActionBarIcon)
    .use(ActionBarButton)
    .use(Space)
    .use(ImagePreview)
    .use(AddressEdit)
    .use(NavBar)
    .use(Tab)
    .use(Tabs)
    .use(Sidebar)
    .use(SidebarItem)
    .use(ShareSheet)
    .use(Overlay)
   
    .use(Grid)
    .use(GridItem)
    .use(Divider)
    .use(ShareSheet)
    .use(DropdownMenu, DropdownItem)
    .use(Empty)
    .use(Skeleton)
    .use(Area)
    .use(DatetimePicker)
    .use(Loading)
    .use(Field)
    .use(ActionSheet)
    .use(Uploader)
    .use(Picker)
    .use(Dialog)
